package cn.wen.mall.service;

import cn.wen.mall.common.api.CommonResult;
import cn.wen.mall.dto.OrderParam;
import org.springframework.transaction.annotation.Transactional;

public interface OmsPortalOrderService {
    /*根据信息提交订单*/
    @Transactional
    CommonResult generateOrder(OrderParam orderParam);

    /*取消单个超时订单*/
    @Transactional
    void cancelOrder(Long orderId);
}
